nums = [11,13,15,17]
def findMin(nums):
    numsLen=len(nums)
    #取最后一个元素为枢纽值
    key=nums[numsLen-1]
    l_pointer=0
    r_pointer=numsLen-1
    #进行循环
    while l_pointer<r_pointer and nums[l_pointer]>key:
        l_pointer+=1
    print(nums[l_pointer])
print(findMin(nums))